package com.hospital.demo.mapper.lxy;

import com.hospital.demo.model.lxy.Registration;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 李欣远
 * @since 2020-04-08
 */
@Mapper
public interface RegistrationMapper {
    abstract List<Registration> selReg();
    List<Registration> selRegByDoc(int rwid);
    List<Registration> selRegByDe(int rdeid);
    List<Registration> selRegByP(int rpid);
    List<Registration> selRegByPName(String pname);
    int save(Registration registration);
    int updateById(Registration registration);
    int removeById(Long rid);
    List<Registration> selReg0();
}
